package com.heima.user.controller.v1;

import com.heima.model.user.dto.PutUserDTO;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author げっしょく
 * @date 2021/11/20
 */
@RestController
@RequestMapping("/users")
public class UsersController {

    @PutMapping("/{id}")
    public ResponseEntity putUser(@RequestBody PutUserDTO dto) {

        return ResponseEntity.ok(null);
    }
}
